setting some conditions about status update