added handling for status dropdown