Coded Update and Insert functions for Companies