updates to styling and profile sql query