added small database changes