Logic update
