Database updates

Added new stored procedures