modified the db_manager and rp_action for new models
modified the db_manager and rp_action for new models